{% if site.post.related.enable %}
<div class="related">
  {{ site.post.related.title }}
  <ul class="related-posts">
    {% for post in site.related_posts limit:3 %}
    <li>
      <a href="{{ site.baseurl }}{{ post.url }}">
        {{ post.title }}
        <small>{{ post.date | date_to_string }}</small>
      </a>
    </li>
    {% endfor %}
  </ul>
</div>
{% endif %}
